<section>
  <div class="container">
    <fui-upload
      [fileTypes]="['image/png','image/jpeg','image/gif','image/bmp']"
      action="https://jsonplaceholder.typicode.com/posts/"
      fileTypesErrorText="文件格式错误"
      uploadTips="支持拓展名：.png .jpeg ,gif .bmp"
    >
      <button fuiBtn="primary" fuiBtnOutline>Click to Upload</button>
    </fui-upload>
  </div>
</section>

